<%@ Page Language="C#" MasterPageFile="~/Adminpages/Site2.Master" AutoEventWireup="true" CodeBehind="AComment.aspx.cs" Inherits="websoni.Adminpages.WebForm6" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <br />
        <table class="style1">
            <tr>
                <td colspan="2">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        onrowdeleting="GridView1_RowDeleting" onrowediting="GridView1_RowEditing" 
                        Width="631px" AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging" 
                        >
                        <Columns>
                            <asp:BoundField DataField="sender_name" HeaderText="Sender Name" >
                                <ItemStyle VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField DataField="comment" HeaderText="Comments" HtmlEncode="False" >
                                <ItemStyle VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="Delete">
                                <ItemTemplate>
                                    <asp:Button ID="Button1" runat="server" Text="Delete"
                                        oncommand="Button1_Command" CommandName="Delete" CausesValidation="False" CommandArgument='<%# Eval("cid") %>' />
                                </ItemTemplate>
                                <ItemStyle VerticalAlign="Top" HorizontalAlign="Center" />
                            </asp:TemplateField>
                        </Columns>
                        <PagerStyle HorizontalAlign="Center" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </p>
    <p>
    </p>
</asp:Content>
